﻿using Xtensive.Orm;

namespace StructureInheritance.Model
{
    [HierarchyRoot]
    public class Range : Entity
    {
        [Field, Key]
        public int Id { get; set; }

        [Field]
        public Point2D Start { get; set; }

        [Field]
        public Point2D End { get; set; }

        public Range(Session session) :
            base(session)
        {}
    }
}